import router from '@system.router';
import dataStorage from '@ohos.data.storage';
export default {
    data: {
        imagesrc1:"/common/qidong/qidong1.PNG",
        imagesrc2:"/common/qidong/qidong2.PNG",
        title: 'World',
        flag:0,
    },
    onInit(){
        this.setTimeOut();
    },
    click(){
        console.log("点击事件");
        router.push({
            uri:'pages/login/login',
        });
    },
    setTimeOut() {
        var timeoutID = setTimeout(function() {
            console.log('delay 3s');
            console.log("点击事件");
            router.push({
                uri:'pages/login/login',
            });
        }, 3000);
    }
}
